<extend name="common/base" />
<block name="resource">
	 <link href="__ASSET__/Home/v4/src/css/home.css" rel="stylesheet">
	 <link href="__ASSET__/Home/v4/src/css/explore.css" rel="stylesheet">
   <link href="__ASSET__/Home/v4/src/css/videoCommon.css" rel="stylesheet">
   <link href="__ASSET__/Home/v4/src/css/search_v4.css" rel="stylesheet">
   <style>
      .explore-videolist-new .list-hover_video .item-play{
            position:relative;
        }
      .explore-videolist-new .list-hover_video .item-play .video_play{
            position:absolute;
            width:100%;
            height:100%;
            left:0;
            top:0;
            z-index:100;
        }
        .game-area{
            padding-bottom:10px;
        }
        .loadingMore{
            margin:1rem 0;
        }
        #share{
            padding-top: 0;
        }
        .share_box{
            position: absolute;
            padding: 10px 0;
            width: 210px;
            height: 52px;
            background: #f2f2f2;
            right: 50%;
            margin-right: -105px;
            top: -60px;
            box-shadow: 2px 2px 5px #666;
            z-index: 998;
            display:none;
        }
        .share_box:before {
            border: none;
        }
        .bdsharebuttonbox{
            top: 0;
        }
        .bdsharebuttonbox:before {
            width: 0;
            height: 0;
            content: "";
            border-top: solid 8px #f2f2f2;
            border-left: solid 8px transparent;
            border-right: solid 8px transparent;
            position: absolute;
            left: 50%;
            bottom: -7px;
            margin-left: -4px;
        }
        .item-avatar{
            position:relative;
        }
        .item-avatar .newG-icon{
            width:25px;
            height:25px;
        }
        .all-chat-list li{
            border-bottom:1px solid #ddd;
        }
        .ajax_banner{
            background:none;
            display:none;
            height:90px;
        }
        .ajax_banner a{
            display:block;
            height:90px;
            width:100%;
        }
        .ajax_banner a img{
            width:100%;
            height:100%;
        }
        .level{
            height:auto;
            width:auto;
        }
        .game-area-palyer-head .newG-icon {
            bottom: -5px;
            height: 30px;
            position: absolute;
            right: -5px;
            width: 30px;
            transition:none;
        }
        .video-box{
            height:auto;
        }
        .empty_team{
            height:450px;
            background:url("__ASSET__/Home/v4/src/images/load_h.gif") no-repeat center center;
        }
        .empty_team_data,.empty_fans_data{
               height:450px;
               background:url("__ASSET__/Home/v4/src/images/empty_66.png") no-repeat center center;
               display:none;
        }
        .item-play {
            display: table-cell;
            height: 150px;
            position: relative;
            text-align: center;
            vertical-align: middle;
            width: 267px;
          }
          .item-play img{
               height: auto;
               margin: auto;
               max-height: 100%;
               max-width: 100%;
               position: static;
               width: auto;

      }
     .active-users-ul > li{
        padding:15px 0;
     }
     .search_video_title{
          font-family:"宋体";
          color:#333333;
          font-weight:normal;
     }
     .search_ul li{
        cursor:pointer;
     }
   </style>
</block>
<block name="content">
   <div class="searh_head">
   	    <div class="searh_head_contain">
   	    	    <p class="search_end">结果包含“{$keywords}”的</p>
   	    	    <ul  class="search_ul">
   	    	    	<li class="active">视频</li>
   	    	    	<li class="search_user">用户</li>
   	    	    </ul>
   	    </div>
   </div>
  <div class="container" style="padding:0;margin-bottom:20px;">
        <!--左边板块-->
        <div class="main-right explore-right left white-bg" style="min-height:575px;">
              <ul class="right-box row explore-videolist explore-videolist-new paddingtb20 explore-videolist-contain team_contain" style="padding: 10px 5px;" data-type="teams">
              </ul>
              <!--加载等待-->
              <div class="load-more-video" style="display:block;background:#fff;height:40px;line-height:40px;text-align:center;">
                    <i><img src="__ASSET__/Home/v4/src/images/loading-white.gif" alt="正在加载，请稍候..."/></i>
                    <span>正在加载，请稍候...</span>
              </div>
              <!--分页-->   
              <div class="page visitor_page">
                    <ul>
                    </ul>
              </div>
              <div class="empty_team_data"></div>     
        </div>
        <!--右边板块-->
        <div class="main-left explore-left nomargin right">
        	<!--相关用户-->
            <div class="left-position all-search white-bg related_user" style="display:none;">
                <h1 class="font16 colorsix relative">相关用户</h1>
                <ul class="active-users-ul active-users-ul-contain search_contain_ul"> 
                </ul>
            </div>
            <!--大家都在搜-->
            <div class="all-search white-bg" >
                <h1 class="font16 colorsix relative">大家都在搜</h1>
                <div class="load-more" style="display:block;">
                     <i><img src="__ASSET__/Home/v4/src/images/loading-white.gif" alt="正在加载，请稍候..."/></i>
                     <span>正在加载，请稍候...</span>
                </div>
                <ul class="search-list" style="min-height:405px;">   
                </ul>
            </div>
        </div>
    </div>
     <include file="Explore/player_template"/>
</block>
<block name="footer"></block>
<block name="component">
    <script src="__ASSET__/Home/v4/lib/js/jquery.cookie.js"></script>
    <script src="__ASSET__/Home/v4/lib/js/jwplayer.js"></script>
    <script src="__ASSET__/Home/v4/lib/js/jquery.zclip.min.js"></script>
    <script src="__ASSET__/Home/v4/lib/js/date_format.js"></script>
    <script src="__ASSET__/Home/v4/lib/js/face.js?v=1.0"></script>
    <script src="__ASSET__/Home/v4/dist/js/search_module.js"></script>
    <script src="__ASSET__/Home/v4/dist/js/HDvideo.js?v=1.0"></script>
    <script src="__ASSET__/Home/v4/dist/js/related_user.js"></script>
    <script src="__ASSET__/Home/v4/dist/js/search_video.js?v=1.0.1"></script>
    <script src="__ASSET__/Home/v4/dist/js/team_window.js?v=1.0"></script>
    <script src="__ASSET__/Home/v4/dist/js/set_common_bg.js?v=1.0"></script>
    <script>
       window._THIS = {
       	     	keywords : "{$keywords}",
	            searchHotUrl : "{:U('api/search/hot', ['per' => 10])}",
              searchUserApi : "/search-ajaxUsers",
              searchVideoApi : "/search-ajaxVideos",
	            searchUserUrl : "/search-user",     //搜素用户的地址
              searchVideoUrl : "/search",
	            other:"/user-",
	            dofollow : "{:U('follow/dofollow')}",
              unfollow : "{:U('follow/unfollow')}",
              dolike : "{:U('like/dolike')}",
              unlike : "{:U('like/unlike')}",
              add : "{:U('favour/add')}",
              undo : "{:U('favour/undo')}",
              getCommentList: "{:U('video/getCommentList')}",
              addComment : "{:U('video/comments')}",
              shareUrl : "/video-",
              VideoPlay:"{:C('LOCAL_DOMAIN')}/video-play-",
              videoInfoUrl: '{:U("video/info")}',
              //searchVideoApi : "{:U('api/search/keywords')}" 
             };
       $(function (){
             //跳转
             $(".search_user").on('click',function(){ 
                 window.location.href=_THIS.searchUserUrl+"?keywords="+_THIS.keywords;
             })
       })
    </script>
</block>


